API: gtk: Add gtk_widget_set_visual()
authorBenjamin Otte <otte@redhat.com>
Tue, 28 Sep 2010 16:56:34 +0000 (18:56 +0200)
committerBenjamin Otte <otte@redhat.com>
Tue, 28 Sep 2010 17:11:21 +0000 (19:11 +0200)
commit5ac623481593875556850e2fedb625e944194759
tree2f5e61deee455e8bcbf149bd5f550b8f036513e9
parentd4fb25f6de59b2a5b1787322250e2e643cc83929
API: gtk: Add gtk_widget_set_visual()

It turns out that the previous handling of just providing a way to set
visuals just on toplevels was not sufficient. In particular it
complicated the various implementations of the tray icon specification.
This patch reintroduces gtk_widget_set_visual() which behaves very
similar to GTK2's gtk_widget_set_colormap().

A future commit will remove the gtk_window_set_visual() function.
docs/reference/gtk/gtk3-sections.txt
gtk/gtk.symbols
gtk/gtkwidget.c
gtk/gtkwidget.h